<!DOCTYPE html>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
    
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<html>
	<head>
		<meta charset="utf-8">
		<title>regist</title>
		<link rel="stylesheet" type="text/css" href="/SpringTest/css/MainCss.css">
	</head> 
	<body>
		<div>
		<form method = "POST" action="reg/regist.do"  enctype = "mutipart/form-data">
		<fieldset>
			<table cellspacing = "0">
				<tr>
					<th><label path = "UserName">Name:</label></th>
					<td><input path="UserName" size="6"/><errors path = "UserName" cssClass = "error"></errors></td>
				</tr>
				<tr>
					<th><label path = "Sex">Sex:</label></th>
					<td><input path="Sex" size="6"/><errors path = "Sex" cssClass = "error"></errors></td>
				</tr>
				<tr>
				 	<td colspan="2">
            		<input type="submit" value="Submit"/>
       	 			</td>
       	 		</tr>
			</table>
		</fieldset>
		</form>
		</div>
	</body>
</html>
